/**
 * Created with CLion.
 * Description: 
 * User: loong
 * Date: 2019-12-26
 * Time: 11:29
 */
#ifndef CLION_WIN_QT_INITMAINWINDOW_H
#define CLION_WIN_QT_INITMAINWINDOW_H

#include <QtWidgets>
#include "TabWidget.h"
#include "MainForm.h"
#include "LoginWidget.h"

class InitMainWindow : public QMainWindow {
Q_OBJECT
public:
    InitMainWindow(QMainWindow *parent = 0);

    ~InitMainWindow();

protected:
    void paintEvent(QPaintEvent *event) override;

    void Init();
    //void tabWidget

private slots:
    //显示主界面
    void showMainForm();
    //主界面退出返回值当前界面(登录界面)
    void showInitWidget();
signals:


private:
    TabWidget *tabWidget;
    MainForm *mainForm;
    LoginWidget *loginWidget;
};


#endif //CLION_WIN_QT_INITMAINWINDOW_H
